/**
 * Created by liguangsong on 16/8/4.
 */
import React from 'react'

var TeamAverageView = React.createClass( {
    render() {
        return (
            <div className="teamAverageView">
                <p className="teamAverageName">PPG</p>
                <p className="teamAverageData">{this.props.ppg}th</p>
                <p className="teamAverageName" style={{left: '310px'}}>RPG</p>
                <p className="teamAverageData" style={{left: '370px'}}>{this.props.rpg}th</p>
                <p className="teamAverageName" style={{left: '540px'}}>APG</p>
                <p className="teamAverageData" style={{left: '600px'}}>{this.props.apg}th</p>
                <p className="teamAverageName" style={{left: '770px'}}>OPPG</p>
                <p className="teamAverageData" style={{left: '845px'}}>{this.props.oppg}th</p>
            </div>
        );
    }
});

export default TeamAverageView;